package com.multi.thread.chapter03.demo05;

public class ThreadC extends Thread {
	
	private Object lock;

	public ThreadC(Object lock) {
		this.lock = lock;
	}
	
	@Override
	public void run() {
		Service service = new Service();
		service.testMethod(lock);
	}

}
